package com.taobao.api.util;

/**
 * 工程常量存放
 * 
 * @author gaoweibin.tw
 * 
 */
public class ApiConstants {

	/**
	 * 阿里软件SIP（服务集成平台）入口
	 */
	public static final String SIP_SERVICE_URL = "http://sip.alisoft.com/sip/rest/";
	/**
	 * 阿里软件SIP沙箱环境入口
	 */
	public static final String SIP_SANDBOX_SERVICE_URL = "http://sipdev.alisoft.com/sip/rest/";

	/**
	 * 淘宝API入口
	 */
	public static final String API_SERVICE_URL = "http://gw.api.taobao.com/router/rest";

	/**
	 * 淘宝插件平台入口
	 */
	public static final String CONTAINER_URL = "http://container.api.taobao.com/container";

	/**
	 * 淘宝API沙箱环境入口
	 */
	public static final String API_SANDBOX_SERVICE_URL = "http://gw.sandbox.taobao.com/router/rest";

	/**
	 * 淘宝插件平台沙箱环境入口
	 */
	public static final String CONTAINER_SANDBOX_URL = "http://container.sandbox.taobao.com/container";

	/**
	 * 是否使用SIP入口
	 */
	public static boolean enableSIP;
	/**
	 * 是否使用淘宝API入口
	 */
	public static boolean enableTaobao;

	public static final String EMPTY_STR = "";
	// SIP系统级参数
	public static final String SIP_APPKEY = "sip_appkey";
	public static final String SIP_APINAME = "sip_apiname";
	public static final String SIP_SESSIONID = "sip_sessionid";
	public static final String SIP_SIGN = "sip_sign";
	public static final String SIP_TIMESTAMP = "sip_timestamp";
	// 系统级参数
	public static final String APIKEY = "api_key";
	public static final String METHOD = "method";
	public static final String SESSION = "session";
	public static final String SIGN = "sign";
	public static final String TIMESTAMP = "timestamp";
	// 默认版本号
	public static final String DEFAULT_SERVICE_VERSION = "1.0";
	// 应用参数
	// Error Response Params
	public static final String ERROR_RSP = "error_rsp";
	public static final String ERROR_CODE = "code";
	public static final String ERROR_MSG = "msg";
	// Base Response Params
	public static final String RSP = "rsp";
	public static final String TOTALRESULTS = "totalResults";
	public static final String ITEMS = "items";
	public static final String USERS = "users";
	public static final String ITEM_CATS = "item_cats";
	public static final String SHOP_CATS = "shop_cats";
	public static final String SELLER_CATS = "seller_cats";
	public static final String SPUS = "spus";
	public static final String ITEM_PROPS = "item_props";
	public static final String POSTAGES = "postages";
	public static final String SKUS = "skus";
	// Base Params
	public static final String ANONS = "anons";
	public static final String TYPE = "type";
	public static final String STUFF_STATUS = "stuff_status";
	public static final String APPROVE_STATUS = "approve_status";
	public static final String CID = "cid";
	public static final String DATETIME = "datetime";
	public static final String PROPS = "props";
	public static final String PARENT_PID = "parent_pid";
	public static final String IS_KEY_PROP = "is_key_prop";
	public static final String IS_SALE_PROP = "is_sale_prop";
	public static final String IS_COLOR_PROP = "is_color_prop";
	public static final String IS_ENUM_PROP = "is_enum_prop";
	public static final String IS_INPUT_PROP = "is_input_prop";
	public static final String CHILD_TEMPLATE = "child_template";
	public static final String PVS = "pvs";
	public static final String SORT_ORDER = "sort_order";
	public static final String PROP_NAME = "prop_name";
	public static final String MUST = "must";
	public static final String MULTI = "multi";
	public static final String PARENT_VID = "parent_vid";
	public static final String NUM = "num";
	public static final String PRICE = "price";
	public static final String TITLE = "title";
	public static final String DESC = "desc";
	public static final String LOCATION_STATE = "location.state";
	public static final String LOCATION_CITY = "location.city";
	public static final String FREIGHT_PAYER = "freight_payer";
	public static final String VALID_THRU = "valid_thru";
	public static final String HAS_INVOICE = "has_invoice";
	public static final String HAS_WARRANTY = "has_warranty";
	public static final String SELLER_CIDS = "seller_cids";
	public static final String HAS_DISCOUNT = "has_discount";
	public static final String POST_FEE = "post_fee";
	public static final String EXPRESS_FEE = "express_fee";
	public static final String LIST_TIME = "list_time";
	public static final String INCREMENT = "increment";
	public static final String AUTO_REPOST = "auto_repost";
	public static final String HAS_SHOWCASE = "has_showcase";
	public static final String EMS_FEE = "ems_fee";
	public static final String FIELDS = "fields";
	public static final String NICK = "nick";
	public static final String IID = "iid";
	public static final String IIDS = "iids";
	public static final String PIC_PATH = "pic_path";
	public static final String DELIST_TIME = "delist_time";
	public static final String BULK_BASE_NUM = "bulk_base_num";
	public static final String MODIFIED = "modified";
	public static final String Q = "q";
	public static final String PAGE_NO = "page_no";
	public static final String PAGE_SIZE = "page_size";
	public static final String ORDER_BY = "order_by";
	public static final String START_PRICE = "start_price";
	public static final String END_PRICE = "end_price";
	public static final String NICKS = "nicks";
	public static final String SELLER_NICK = "seller_nick";
	public static final String BUYER_NICK = "buyer_nick";
	public static final String CREATED = "created";
	public static final String TID = "tid";
	public static final String STATUS = "status";
	public static final String SELLER_RATE = "seller_rate";
	public static final String BUYER_RATE = "buyer_rate";
	public static final String START_CREATED = "start_created";
	public static final String END_CREATED = "end_created";
	public static final String SEX = "sex";
	public static final String BUYER_CREDIT = "buyer_credit";
	public static final String LEVEL = "level";
	public static final String SCORE = "score";
	public static final String TOTAL_NUM = "total_num";
	public static final String GOOD_NUM = "good_num";
	public static final String SELLER_CREDIT = "seller_credit";
	public static final String LOCATION = "location";
	public static final String CITY = "city";
	public static final String STATE = "state";
	public static final String COUNTRY = "country";
	public static final String ZIP = "zip";
	public static final String ADDRESS = "address";
	public static final String LAST_VISIT = "last_visit";
	public static final String REAL_NAME = "real_name";
	public static final String ID_CARD = "id_card";
	public static final String PHONE = "phone";
	public static final String MOBILE = "mobile";
	public static final String EMAIL = "email";
	public static final String BIRTHDAY = "birthday";
	public static final String PARENT_CID = "parent_cid";
	public static final String CIDS = "cids";
	public static final String IS_PARENT = "is_parent";
	public static final String NAME = "name";
	public static final String BINDS = "binds";
	public static final String PID = "pid";
	public static final String CHILD_PATH = "child_path";
	public static final String PUB_MUST = "pub_must";
	public static final String PUB_MULTI = "pub_multi";
	public static final String PROP_VALUES = "prop_values";
	public static final String VID = "vid";
	public static final String TRADES = "trades";
	public static final String ALIPAYNO = "alipay_no";
	public static final String PAYMENT = "payment";
	public static final String SID = "sid";
	public static final String DELIVERY_START = "delivery_start";
	public static final String DELIVERY_END = "delivery_end";
	public static final String OUT_SID = "out_sid";
	public static final String ITEM_TITLE = "item_title";
	public static final String RECEIVER_NAME = "receiver_name";
	public static final String RECEIVER_MOBILE = "receiver_mobile";
	public static final String RECEIVER_PHONE = "receiver_phone";
	public static final String RECEIVER_LOCATION = "receiver_location";
	public static final String COMPANY_NAME = "company_name";
	public static final String BULLETIN = "bulletin";
	public static final String ROLE = "role";
	public static final String RATED_NICK = "rated_nick";
	public static final String RESULT = "result";
	public static final String ITEM_PRICE = "item_price";
	public static final String CONTENT = "content";
	public static final String REPLY = "reply";
	public static final String ANONY = "anony";
	public static final String SHIPPINGS = "ship";
	public static final String SHOPS = "shops";
	public static final String TRADERATES = "rates";
	public static final String SELLER_CONFIRM = "seller_confirm";
	public static final String RATE_TYPE = "rate_type";
	public static final String TIME_PERIOD = "time_period";
	public static final String BANNER = "banner";
	public static final String BULK_PRICE = "bulk_price";
	public static final String REMAIN_COUNT = "remain_count";
	public static final String POSTAGE_ID = "postage_id";
	public static final String MEMO = "memo";
	public static final String PICID = "pic_id";
	public static final String PRODUCT_ID = "product_id";
	public static final String AUCTION_POINT = "auction_point";
	public static final String PROPERTY_ALIAS = "property_alias";
	public static final String ITEMIMGS = "itemImgs";
	public static final String PROPIMGS = "propImgs";
	public static final String SKU = "sku";
	public static final String SKU_ID = "sku_id";
	public static final String ID = "id";
	public static final String ITEMIMG_ID = "itemimg_id";
	public static final String PROPIMG_ID = "propimg_id";
	public static final String URL = "url";
	public static final String POSITION = "position";
	public static final String PROPERTIES = "properties";
	public static final String QUANTITY = "quantity";
	public static final String OUTER_ID = "outer_id";
	public static final String WW_STATUS = "ww_status";
	public static final String POST_FREE = "post_free";
	public static final String SKU_IDS = "sku_ids";
	public static final String SKU_PROPERTIES = "sku_properties";
	public static final String SKU_QUANTITIES = "sku_quantities";
	public static final String SKU_PRICES = "sku_prices";
	public static final String SKU_OUTER_IDS = "sku_outer_ids";
	public static final String START_DATE = "start_date";
	public static final String END_DATE = "end_date";
	public static final String ISMAJOR = "is_major";
	public static final String INPUT_PIDS = "input_pids";
	public static final String INPUT_STR = "input_str";
	
	public static final String REFUND_STATUS = "refund_status";
	public static final String BUYER_MESSAGE = "buyer_message";
	public static final String PAY_TIME = "pay_time";
	public static final String END_TIME = "end_time";
	public static final String BUYER_OBTAIN_POINT_FEE = "buyer_obtain_point_fee";
	public static final String POINT_FEE = "point_fee";
	public static final String REAL_POINT_FEE = "real_point_fee";
	public static final String SELLER_MEMO = "seller_memo";
	public static final String BUYER_MEMO = "buyer_memo";
	public static final String ORDERS = "orders";
	public static final String LANG = "lang";
	public static final String TOTAL_FEE = "total_fee";
}
